package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallBrandDao;
import com.appkubes.mall.core.entity.MallBrand;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

public interface BaseMallBrandService extends AbstractBaseService<BaseMallBrandDao, MallBrand> {

    MallBrand getOneByEntity(MallBrand entity);

    List<MallBrand> selectListByEntity(MallBrand entity);

    IPage<MallBrand> selectPageByEntity(IPage<MallBrand> page);
    IPage<MallBrand> selectPageByEntity(PageVO pageVO);

    IPage<MallBrand> selectPageByEntity(MallBrand entity, IPage<MallBrand> page);
    IPage<MallBrand> selectPageByEntity(MallBrand entity, PageVO pageVO);

    IPage<MallBrand> selectPageByEntity(MallBrand entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallBrand entity);
}
